<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        
        *{
            margin: 0;
            padding: 0;
        }
        a{
            text-decoration: none;
            color: #757575;
        }
        body{
            background-color: #f5f5f5;
        }
        .tool-bar{
            position: fixed;
            right: 0px;
            bottom: 70px;
            background-color: #fff;
        }
        .tool-bar .item{
            position: relative;
            display: block;
            
            width: 82px;
            height: 90px;
            border: 1px solid #f5f5f5;
            margin-top: -1px;

        }
        /* 二维码 */
        .tool-bar .phone .app{
            display: block;
            position: absolute;
            left: -140px;
            top: 0;
            width: 130px;
            height: 190px;
            background-color: #fff;
            
            text-align: center;
            opacity: 0;
        }
        /* .p{
            width: 120px;
            height: 120px;
            margin-left: 5px;
            
        } */
        .item:hover .app{
            opacity: 1;
            visibility: visible;
        }
        .tool-bar .icon{
            width: 30px;
            height: 30px;
            margin: 0 auto;
            margin-top: 18px;
            margin-bottom: 8px;
            
        }
        .tool-bar .text{
            font-size: 14px;
            line-height: 16px;
            text-align: center;
            color: #757575;
        }
        .tool-bar .app .p{
            display: block;
            width: 100px;
            height: 100px;
            /* margin:6px 5px; */
            /* display: block;
            width: 100px;
            height: 100px;
            margin: 6px 5px; */
            /* margin-top: 15px;
            margin-left: 15px; */
            margin:  20px auto;
        }
        .tool-bar .icon img{
            display: block;
            width: 30px;
            height: 30px;
        }
        .tool-bar .active{
           opacity: 0;
        }

        .item:hover .default {
            
            display: none;
           
        }
        .item:hover .text{
            color: orange;
        }
        .item:hover .active{
            opacity: 1;
        }
    </style>
</head>
<body>
    <div class="tool-bar">
        <a href="" class="item phone">
            <!-- <div class="app">
                <img class="p" src="20211119191234.jpg" alt="">
                <p>扫一扫有惊喜</p>
            </div> -->
            <div class="icon">
                <img class="default" src="https://i8.mifile.cn/b2c-mimall-media/98a23aae70f25798192693f21c4d4039.png" alt="">
                <img class="active" src="https://i8.mifile.cn/b2c-mimall-media/74c4fcb4475af8308e9a670db9c01fdf.png" alt="">
                <div class="app">
                    <img class="p" src="imgs/20211119191234.jpg" alt="">
                    <p>扫一扫有惊喜</p>
                </div>
                <!-- <div class="text">个人中心</div> -->
            </div>
            <div class="text">手机APP</div>
            
        </a>
        <a href="" class="item">
            <div class="icon">
                <img class="default" src="https://i8.mifile.cn/b2c-mimall-media/55cad219421bee03a801775e7309b920.png" alt="">
                <img class="active" src="https://i8.mifile.cn/b2c-mimall-media/41f858550f42eb1770b97faf219ae215.png" alt="">
            </div>
            <div class="text">个人中心</div>
        </a>
        <a href="" class="item">
            <div class="icon">
                <img class="default" src="https://cdn.cnbj1.fds.api.mi-img.com/mi-mall/12eb0965ab33dc8e05870911b90f3f13.png" alt="">
                <img class="active" src="https://cdn.cnbj1.fds.api.mi-img.com/mi-mall/95fbf0081a06eec7be4d35e277faeca0.png" alt="">
            </div>
            <div class="text">售后服务</div>
        </a>
        <a href="" class="item">
            <div class="icon">
                <img class="default" src="https://i8.mifile.cn/b2c-mimall-media/4f036ae4d45002b2a6fb6756cedebf02.png" alt="">
                <img class="active" src="https://i8.mifile.cn/b2c-mimall-media/5e9f2b1b0da09ac3b3961378284ef2d4.png" alt="">
            </div>
            <div class="text">人工客服</div>
        </a>
        <a href="" class="item">
            <div class="icon">
                <img class="default" src="https://i8.mifile.cn/b2c-mimall-media/d7db56d1d850113f016c95e289e36efa.png" alt="">
                <img class="active" src="https://i8.mifile.cn/b2c-mimall-media/692a6c3b0a93a24f74a29c0f9d68ec71.png" alt="">
            </div>
            <div class="text">购物车</div>
        </a>
    </div>
</body>
</html>